package net.qhzw.vip.qiyu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.qhzw.vip.qiyu.dto.ShopAccountQuery;
import net.qhzw.vip.qiyu.entity.ShopAccount;
import net.qhzw.vip.qiyu.util.PageAdapter;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopAccountMapper extends BaseMapper<ShopAccount> {


    Double selectBalance(Long shopId);


    List<ShopAccount> selectByList(@Param("page") PageAdapter pageAdapter, @Param("query") ShopAccountQuery query);


    Long selectByTotal(@Param("query") ShopAccountQuery query);

}
